<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<%@page pageEncoding="UTF-8" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>

    <sf:form method="post" modelAttribute="loginUser" >
        UserName:<sf:input path="loginName"/><sf:errors path="loginName"/><br/>
        Password:<sf:password path="loginPassword" /><sf:errors path="loginPassword"/><br/>
        <input type="submit" value="登录"/>
    </sf:form>
</body>
</html>